package com.bootdo.wx.service.impl;

import com.bootdo.wx.dao.ShopExpressCodeDao;
import com.bootdo.wx.domain.ShopExpressCodeDO;
import com.bootdo.wx.service.ShopExpressCodeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class ShopExpressCodeServiceImpl implements ShopExpressCodeService {
	@Autowired
	private ShopExpressCodeDao shopExpressCodeDao;
	
	@Override
	public ShopExpressCodeDO get(String id){
		return shopExpressCodeDao.get(id);
	}
	
	@Override
	public List<ShopExpressCodeDO> list(Map<String, Object> map){
		return shopExpressCodeDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return shopExpressCodeDao.count(map);
	}
	
	@Override
	public int save(ShopExpressCodeDO shopExpressCode){
		return shopExpressCodeDao.save(shopExpressCode);
	}
	
	@Override
	public int update(ShopExpressCodeDO shopExpressCode){
		return shopExpressCodeDao.update(shopExpressCode);
	}
	
	@Override
	public int remove(String id){
		return shopExpressCodeDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return shopExpressCodeDao.batchRemove(ids);
	}
	
}
